#不再单独解析params，只返回五个结果

from urllib.parse import urlsplit

result = urlsplit('http://www.baidu.com/index.html;user?id=5#comment')

print(result)
print()
print(result[0])
print(result.scheme)